package com.pac.location.dao.impl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.pac.location.bean.LocationBean;
import com.pac.location.dao.LocationDao;

/**
 * 区域信息dao实现
 * 
 * @author lujun.chen
 * @version [版本号, 2015年3月1日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@Repository(value = "locationDao")
public class LocationDaoImpl implements LocationDao {

	@Autowired
	private SqlSessionTemplate sqlSessionTemplate;

	@Override
	public List<LocationBean> queryLocation(LocationBean locationBean) {

		return sqlSessionTemplate.selectList("queryLocation", locationBean);
	}

}
